﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Nop.Web.Framework.Mvc;
using FluentValidation.Attributes;
using Nop.Admin.Validators.Directory;
using Nop.Web.Framework;
using System.Web.Mvc;

namespace Nop.Admin.Models.Directory
{
    [Validator(typeof(ProvinceCityValidator))]
    public class ProvinceCityModel : BaseNopEntityModel
    {
        [NopResourceDisplayName("Admin.ProvinceCity.ProvinceCity.Fields.Name")]
        [AllowHtml]
        public virtual string Name { get; set; }

        [NopResourceDisplayName("Admin.ProvinceCity.ProvinceCity.Fields.Pid")]
        [AllowHtml]
        public virtual int Pid { get; set; }

        [NopResourceDisplayName("Admin.ProvinceCity.ProvinceCity.Fields.Pids")]
        [AllowHtml]
        public virtual string Pids { get; set; }

        [NopResourceDisplayName("Admin.ProvinceCity.ProvinceCity.Fields.PLevel")]
        [AllowHtml]
        public virtual int PLevel { get; set; }
    }
}